package com.nlp.server.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.management.Query;
import java.util.List;
import java.util.Map;

/**
 * @author shiliuyinzhen
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "chat")
public class ChatProperties {

    /** 大模型ip地址 */
    private String host;

    /** 大模型端口号 */
    private String port;

    /** 大模型提问 */
    private String queryUrl;

    /** 查询类型 */
    private Map<String,String> queryTypes;

}
